//
//  XXBViewControllerProtocol.h
//  XXBNavDemo
//
//  Created by xiaobing5 on 2020/5/25.
//  Copyright © 2020 xiaobing. All rights reserved.
//

#ifndef XXBViewControllerProtocol_h
#define XXBViewControllerProtocol_h
#import <UIKit/UIKit.h>
@class XXBViewController;
@class XXBTransitioningAnimation;

@protocol XXBViewControllerProtocol <NSObject>

@optional

/// 是否允许从右侧滑动 Push ViewController
- (BOOL)enableRightDragPushViewController;

/// 右侧滑动需要Push 的  ViewController
- (XXBViewController *)rightDragPushViewController;

/// 获取Push动画
- (XXBTransitioningAnimation *)getPushTransitioningAnimation;

/// 获取Pop动画
- (XXBTransitioningAnimation *)getPopTransitioningAnimation;
@end

#endif /* XXBViewControllerProtocol_h */
